package kr.co.doriclassic.workhischool.ui;

import javax.swing.JFrame;
import javax.swing.JPanel;

import java.awt.BorderLayout;

import javax.swing.BoxLayout;

import java.awt.GridLayout;

import kr.co.doriclassic.mylibrary.InputPanel;

public class FrameInput extends JFrame {
	private JPanel panel;
	private JPanel panel_no;
	private JPanel panel_eng;
	private InputPanel panel_name;
	public FrameInput() {
		initialize();
	}
	private void initialize() {
		getContentPane().setLayout(new BoxLayout(getContentPane(), BoxLayout.Y_AXIS));
		
		JPanel panel_tf = new JPanel();
		getContentPane().add(panel_tf);
		panel_tf.setLayout(new GridLayout(4, 2, 5, 5));
		
		panel_no = new InputPanel("학번");
		panel_tf.add(panel_no);
		
		panel_eng = new InputPanel();
		panel_tf.add(panel_eng);
		
		panel_name = new InputPanel();
		panel_tf.add(panel_name);
		
		InputPanel panel_kor = new InputPanel();
		panel_tf.add(panel_kor);
		
		JPanel panel_5 = new JPanel();
		panel_tf.add(panel_5);
		
		InputPanel panel_eng = new InputPanel();
		panel_tf.add(panel_eng);
		
		JPanel panel_7 = new JPanel();
		panel_tf.add(panel_7);
		
		InputPanel panel_math = new InputPanel();
		panel_tf.add(panel_math);
		
		JPanel panel_bt = new JPanel();
		getContentPane().add(panel_bt);
	}

}
